package service

import (
	"main/dao"
	"main/model"
)

type FoodCategoryService struct {
	
}

func (fcs *FoodCategoryService) Categories() ([]model.FoodCategory, error) {
	// dao
	fad := dao.NewFoodCategoryDao()

	// query
	return fad.QueryCategories()
}
